package org.zgy.stock.model.holder;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;

/**
 * 股票股本信息
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("stock_holder_nums_info_num")
public class StockHolderNumsInfo {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private String secucode;
    private String securityCode;
    /**
     * 统计日期
     */
    private String endDate;
    /**
     * 股东人数
     */
    private Integer holderTotalNum;
    /**
     * 较上期变化数
     */
    private Double totalNumRatio;
    /**
     * 人均流通股
     */
    private Integer avgFreeShares;
    /**
     * 较上期变化数
     */
    private Double avgFreeSharesRatio;
    /**
     * 筹码集中度
     */
    private String holdFocus;
    /**
     * 股票价格
     */
    private Double price;
    /**
     * 人均持股金额
     */
    private Double avgHoldAmt;
    /**
     * 十大股东持股合计百分比
     */
    private Double holdRatioTotal;
    /**
     * 十大流通股东持股合计(%)
     */
    private Double freeholdRatioTotal;
}
